<template>
  <div>
    <h1>{{ mag }}</h1>
    <h2>{{ obj.name }}</h2>
    <h3>{{ obj.age >= 70 ? "老妖精" : "正常人" }}</h3>
    <h1>今年年龄{{ obj.age }}岁</h1>
  </div>
</template>

<script>
export default {
  data() {
    return {
      mag: "妖精评选",
      obj: {
        name: "梁江南",
        age: 100,
      },
    };
  },
};
</script>

<style>
</style>
